<?php


namespace XinYaTable\Forms\Requests;



class FormFilterGroupRequest extends BaseRequest
{
    protected $requestRules
        = [
            'POST' => [
                'title'      => 'required|max:10',
                'order'      => 'required|integer',
                'conditions' => 'required|array'
            ]
        ];

    protected $requestMessages
        = [
            'title.required'      => '请输入自定义筛选名称',
            'title.max'           => '自定义筛选名称最大10个字符',
            'order.required'      => '请选择排序',
            'conditions.required' => '筛选条件必填',
        ];
}